home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Sony Ericsson / Sony-Ericsson 2004.iso / Java / Backgammon / m.jar / morpheme / backgammon / Backgammon.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-08-16  |  1.2 KB  |  52 lines

  1. package morpheme.backgammon;
  2.  
  3. import javax.microedition.lcdui.Display;
  4. import javax.microedition.midlet.MIDlet;
  5.  
  6. public class Backgammon extends MIDlet {
  7.    // $FF: renamed from: for morpheme.backgammon.h
  8.    private h field_0;
  9.    // $FF: renamed from: if morpheme.backgammon.d
  10.    private d field_1;
  11.    // $FF: renamed from: new javax.microedition.lcdui.Display
  12.    public Display field_2;
  13.    // $FF: renamed from: int boolean
  14.    private boolean field_3 = false;
  15.    // $FF: renamed from: a boolean
  16.    public boolean field_4;
  17.    // $FF: renamed from: do boolean
  18.    private boolean field_5 = false;
  19.  
  20.    public void startApp() {
  21.       if (!this.field_3) {
  22.          this.field_2 = Display.getDisplay(this);
  23.          this.field_1 = new d(this);
  24.          if (this.field_1.getHeight() != 80 || this.field_1.getWidth() != 101) {
  25.             this.field_4 = true;
  26.          }
  27.  
  28.          this.field_0 = new h(this, this.field_1);
  29.          this.field_2.setCurrent(this.field_1);
  30.          this.field_3 = true;
  31.       }
  32.  
  33.       this.method_0();
  34.    }
  35.  
  36.    // $FF: renamed from: a () void
  37.    public void method_0() {
  38.       if (!this.field_5) {
  39.          this.field_0.void();
  40.       }
  41.  
  42.    }
  43.  
  44.    public void pauseApp() {
  45.       this.field_0.int();
  46.    }
  47.  
  48.    public void destroyApp(boolean var1) {
  49.       this.field_0.j();
  50.    }
  51. }
  52.